package com.example.factory.factory.strategy;

import com.example.factory.factory.StrategyInterface;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component(value = "baomaStrategy")
@Order(value = 2)
public class BaomaStrategy implements StrategyInterface {
    @Override
    public String getName() {
        return "Baoma car";
    }

    @Override
    public String getParticipate() {
        return  "Baoma getParticipate";
    }

    @Override
    public String getComplete() {
        return  "Baoma getComplete";
    }
}
